// similar to the .scale
border: 1px solid $borders_color;
border-radius: 3px;
+ color: $fg_color;
background-image: linear-gradient(to bottom,
mix($bg_color,$borders_color,60%));
text-shadow: 0 1px transparentize(black, 0.9);
color: white;
border-color: $selected_borders_color;
box-shadow: _widget_edge();
- //text-shadow: 0 1px transparentize($selected_borders_color,0.5);
text-shadow: 0 1px transparentize($selected_borders_color,0.5),
0 0 2px transparentize(white,0.4);
}
}
}
}
- .list-row:selected & {
- box-shadow: 0 0 0 1px $selected_fg_color;
- &:backdrop { box-shadow: 0 0 0 1px $backdrop_base_color; }
- }
- &.slider,
- .list-row:selected &.slider {
+ &.slider {
border: 1px solid;
border-radius: 3px;
@include button(normal);
}
}
}
+ .list-row:selected & {
+ @if $variant == 'light' {
+ box-shadow: none;
+ border-color: $selected_borders_color;
+ &:backdrop { border-color: $selected_borders_color; }
+ &.slider:dir(rtl) { border-left-color: $borders_color; }
+ &.slider:dir(ltr) { border-right-color: $borders_color; }
+ &.slider,
+ &.slider:active { border-color: $selected_borders_color; }
+ }
+ }
+
}
/*************************
GtkSwitch.trough {
border: 1px solid #1c1f1f;
border-radius: 3px;
+ color: #eeeeec;
background-image: linear-gradient(to bottom, #2d3232);
text-shadow: 0 1px rgba(0, 0, 0, 0.1); }
GtkSwitch.trough:active {
border-color: #1e2222;
background-image: none;
background-color: #323636; }
- .list-row:selected GtkSwitch {
- box-shadow: 0 0 0 1px #ffffff; }
- .list-row:selected GtkSwitch:backdrop {
- box-shadow: 0 0 0 1px #2c2c2c; }
- GtkSwitch.slider, .list-row:selected GtkSwitch.slider {
+ GtkSwitch.slider {
border: 1px solid;
border-radius: 3px;
color: #eeeeec;
icon-shadow: 0 -1px rgba(0, 0, 0, 0.81176);
box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 1px rgba(238, 238, 236, 0.1);
box-shadow: inset 0 1px rgba(255, 255, 255, 0.15), inset 0 -2px rgba(57, 63, 63, 0.6), inset 0 -1px #2a2f2f; }
- GtkSwitch.slider:hover, .list-row:selected GtkSwitch.slider:hover {
+ GtkSwitch.slider:hover {
color: #eeeeec;
outline-color: rgba(238, 238, 236, 0.3);
border-color: #1c1f1f;
icon-shadow: 0 -1px rgba(0, 0, 0, 0.77976);
box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 1px rgba(238, 238, 236, 0.1);
box-shadow: inset 0 1px rgba(255, 255, 255, 0.15), inset 0 -2px rgba(57, 63, 63, 0.6), inset 0 -1px #2a2f2f; }
- GtkSwitch.slider:active, .list-row:selected GtkSwitch.slider:active {
+ GtkSwitch.slider:active {
border: 1px solid #0f2b48; }
- GtkSwitch.slider:insensitive, .list-row:selected GtkSwitch.slider:insensitive {
+ GtkSwitch.slider:insensitive {
color: #939695;
border-color: #1c1f1f;
background-image: linear-gradient(to bottom, #323636);
text-shadow: none;
icon-shadow: none;
box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
- GtkSwitch.slider:insensitive > GtkLabel, .list-row:selected GtkSwitch.slider:insensitive > GtkLabel {
+ GtkSwitch.slider:insensitive > GtkLabel {
color: inherit; }
- GtkSwitch.slider:backdrop, .list-row:selected GtkSwitch.slider:backdrop {
+ GtkSwitch.slider:backdrop {
color: #c9cbc9;
border-color: #1e2222;
background-image: linear-gradient(to bottom, #393f3f);
icon-shadow: none;
box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(238, 238, 236, 0);
box-shadow: none; }
- GtkSwitch.slider:backdrop:active, .list-row:selected GtkSwitch.slider:backdrop:active {
+ GtkSwitch.slider:backdrop:active {
border-color: #0f2b48; }
- GtkSwitch.slider:backdrop:insensitive, .list-row:selected GtkSwitch.slider:backdrop:insensitive {
+ GtkSwitch.slider:backdrop:insensitive {
color: #5d6767;
border-color: #1e2222;
background-image: linear-gradient(to bottom, #323636);
icon-shadow: none;
box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(238, 238, 236, 0);
box-shadow: none; }
- GtkSwitch.slider:backdrop:insensitive > GtkLabel, .list-row:selected GtkSwitch.slider:backdrop:insensitive > GtkLabel {
+ GtkSwitch.slider:backdrop:insensitive > GtkLabel {
color: inherit; }
/*************************
GtkSwitch.trough {
border: 1px solid #a1a1a1;
border-radius: 3px;
+ color: #2e3436;
background-image: linear-gradient(to bottom, #cecece);
text-shadow: 0 1px rgba(0, 0, 0, 0.1); }
GtkSwitch.trough:active {
border-color: #a8a8a8;
background-image: none;
background-color: #f4f4f4; }
- .list-row:selected GtkSwitch {
- box-shadow: 0 0 0 1px #ffffff; }
- .list-row:selected GtkSwitch:backdrop {
- box-shadow: 0 0 0 1px #fcfcfc; }
- GtkSwitch.slider, .list-row:selected GtkSwitch.slider {
+ GtkSwitch.slider {
border: 1px solid;
border-radius: 3px;
color: #2e3436;
icon-shadow: 0 1px rgba(255, 255, 255, 0.76923);
box-shadow: inset 0 1px white, 0 1px white;
box-shadow: inset 0 1px white, inset 0 -2px rgba(237, 237, 237, 0.6), inset 0 -1px #c7c7c7; }
- GtkSwitch.slider:hover, .list-row:selected GtkSwitch.slider:hover {
+ GtkSwitch.slider:hover {
color: #2e3436;
outline-color: rgba(46, 52, 54, 0.3);
border-color: #a1a1a1;
icon-shadow: 0 1px rgba(255, 255, 255, 0.76923);
box-shadow: inset 0 1px white, 0 1px white;
box-shadow: inset 0 1px white, inset 0 -2px rgba(237, 237, 237, 0.6), inset 0 -1px #c7c7c7; }
- GtkSwitch.slider:active, .list-row:selected GtkSwitch.slider:active {
+ GtkSwitch.slider:active {
border: 1px solid #184472; }
- GtkSwitch.slider:insensitive, .list-row:selected GtkSwitch.slider:insensitive {
+ GtkSwitch.slider:insensitive {
color: #8d9091;
border-color: #a1a1a1;
background-image: linear-gradient(to bottom, #f4f4f4);
text-shadow: none;
icon-shadow: none;
box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
- GtkSwitch.slider:insensitive > GtkLabel, .list-row:selected GtkSwitch.slider:insensitive > GtkLabel {
+ GtkSwitch.slider:insensitive > GtkLabel {
color: inherit; }
- GtkSwitch.slider:backdrop, .list-row:selected GtkSwitch.slider:backdrop {
+ GtkSwitch.slider:backdrop {
color: #54595a;
border-color: #a8a8a8;
background-image: linear-gradient(to bottom, #ededed);
icon-shadow: none;
box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0);
box-shadow: none; }
- GtkSwitch.slider:backdrop:active, .list-row:selected GtkSwitch.slider:backdrop:active {
+ GtkSwitch.slider:backdrop:active {
border-color: #4a90d9; }
- GtkSwitch.slider:backdrop:insensitive, .list-row:selected GtkSwitch.slider:backdrop:insensitive {
+ GtkSwitch.slider:backdrop:insensitive {
color: #c7c7c7;
border-color: #a8a8a8;
background-image: linear-gradient(to bottom, #f4f4f4);
icon-shadow: none;
box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0);
box-shadow: none; }
- GtkSwitch.slider:backdrop:insensitive > GtkLabel, .list-row:selected GtkSwitch.slider:backdrop:insensitive > GtkLabel {
+ GtkSwitch.slider:backdrop:insensitive > GtkLabel {
color: inherit; }
+ .list-row:selected GtkSwitch {
+ box-shadow: none;
+ border-color: #184472; }
+ .list-row:selected GtkSwitch:backdrop {
+ border-color: #184472; }
+ .list-row:selected GtkSwitch.slider:dir(rtl) {
+ border-left-color: #a1a1a1; }
+ .list-row:selected GtkSwitch.slider:dir(ltr) {
+ border-right-color: #a1a1a1; }
+ .list-row:selected GtkSwitch.slider, .list-row:selected GtkSwitch.slider:active {
+ border-color: #184472; }
/*************************
* Check and Radio items *